<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <head th:insert="/common/common :: commonSource('用户注册')"></head>

    <link th:href="@{/static/bootstrap3/css/bootstrap.min.css}" rel="stylesheet">
    <link th:href="@{/static/bootstrap3/css/bootstrap-theme.min.css}" rel="stylesheet">
    <link th:href="@{/static/bootstrap3/css/bootstrap-theme.min.css}" rel="stylesheet">
    <script th:src="@{/static/js/lib/register/register.js}"></script>
    <script th:src="@{/static/bootstrap3/js/bootstrap.min.js}" type="text/javascript"></script>
    <script th:src="@{/static/js/syslib/core.js}"></script>
    <script th:src="@{/static/js/syslib/crypto-js.js}"></script>
    <script th:src="@{/static/js/syslib/mode-ecb.js}"></script>
    <script th:src="@{/static/js/syslib/aes.js}"></script>
</head>
<body id="loginBody">
<nav class="navbar navbar-inverse">...</nav>
<div class="page-container">
    <div class="row">
        <div class="col-md-4"></div>
        <div class="col-md-4">
            <div class="panel panel-primary">
                <div class="panel-heading">
                    <h2 class="panel-title">register</h2>
                </div>
                <div class="panel-body">
                    <form class="form-horizontal">
                        <div class="form-group form-group-lg">
                            <label class="col-sm-3 control-label" for="formGroupInputLarge">
                                username:
                            </label>
                            <div class="col-sm-8">
                                <input class="form-control" type="text"
                                       id="register-username" placeholder="username">
                            </div>
                        </div>
                        <div class="form-group form-group-lg">
                            <label class="col-sm-3 control-label" for="formGroupInputLarge">
                                nickname:
                            </label>
                            <div class="col-sm-8">
                                <input class="form-control" type="text"
                                       id="register-nickname" placeholder="nickname">
                            </div>
                        </div>
                        <div class="form-group form-group-lg">
                            <label class="col-sm-3 control-label" for="formGroupInputLarge">
                                password:
                            </label>
                            <div class="col-sm-8">
                                <input class="form-control" type="password"
                                       id="register-password" placeholder="password">
                            </div>
                        </div>
                        <div class="form-group form-group-lg">
                            <label class="col-sm-3 control-label" for="formGroupInputLarge">
                                mobile:
                            </label>
                            <div class="col-sm-8">
                                <input class="form-control" type="text"
                                       id="register-mobile" placeholder="mobile">
                            </div>
                        </div>
                        <div class="form-group form-group-lg">
                            <label class="col-sm-3 control-label" for="formGroupInputLarge">
                                email:
                            </label>
                            <div class="col-sm-8">
                                <input class="form-control" type="text"
                                       id="register-email" placeholder="email">
                            </div>
                        </div>
                        <button id="registerSubmit" type="button"
                                class="btn btn-success btn-lg btn-block"
                                onclick="submitRegisterData()">submit
                        </button>
                    </form>
                </div>
            </div>
        </div>
        <div class="col-md-4"></div>
    </div>
</div>
<div th:insert="/common/footer"></div>
<input type="hidden" id="aesKey" th:value="${aesKey}">
<input type="hidden" id="token" th:value="${token}">
<input type="hidden" id="offset" th:value="${offset}">
</body>
</html>